//
//  GNRAPIConfig.m
//  Faceto
//
//  Created by LvYuan on 17/4/17.
//  Copyright © 2017年 LvYuan. All rights reserved.
//

#import "GNRAPIConfig.h"

@implementation GNRAPIConfig

#if k_BaseUrl_Local
NSString * const kBaseUrl = @"http://qjzhzw.tunnel.qydev.com/miandui/";//本地
#else
NSString * const kBaseUrl = @"http://101.132.41.114:8080/miandui/";//@"http://139.224.58.165:8080/miandui/";
#endif

NSString * const kName = @"name";
NSString * const kPath = @"path";

+ (NSArray *)apiConfig{
    return @[@{kName:@"Register",
               kPath:@"register/",
               },
             @{kName:@"Login",
               kPath:@"login/",
               },
             @{kName:@"Forgot_ver",
               kPath:@"forget_vertification/",
               },
             @{kName:@"Forgot_login",
               kPath:@"forget_login/",
               },
             @{kName:@"Vertification",
               kPath:@"vertification/",
               },
             @{kName:@"Get_Info",
               kPath:@"information_get/",
               },
             @{kName:@"Update_Info",
               kPath:@"information_post/",
               },
             @{kName:@"Timing",
               kPath:@"timing_post/",
               },
             @{kName:@"Mark_get_days",
               kPath:@"mark_get_days/",
               },
             @{kName:@"Mark_get_today",
               kPath:@"mark_get_today/",
               },
             @{kName:@"Shop_list_get",
               kPath:@"shop_list_get/",
               },
             @{kName:@"Goods_list_get",
               kPath:@"goods_list_get/",
               },
             @{kName:@"Goods_information_get",
               kPath:@"goods_information_get/",
               },
             @{kName:@"Discount_buy",
               kPath:@"discount_buy/",
               },
             @{kName:@"Discount_list_get",//"我的优惠”列表获取
               kPath:@"discount_list_get/",
               },
             @{kName:@"Buy_list_get",//“我的购买记录”列表获取
               kPath:@"buy_list_get/",
               },
             @{kName:@"Discount_use",
               kPath:@"discount_use/",
               },
             @{kName:@"Daily_sign_in",
               kPath:@"daily_sign_in/",
               },
             @{kName:@"Version_update",
               kPath:@"version_update/",
               },
             ];
}

@end
